<html>
	<head>
		<meta charset="utf-8"></meta>
		<title>BButton</title>
		<link href="./style.css" rel="stylesheet" type="text/css"/>
	</head>
	<body>
		<div class="class" name="BButton">
			<h1>BButton</h1>
			<p>继承自<a href="BWidget.html">BWidget</a></p>
			<p id="resume">BButton是按钮控件，通常使用鼠标点击操作。<a href="#desc">详细</a></p>
			<h2>public</h2>
			<table id="public">
				<tr><td align="right"/><td><a href="#BButton(BWidget*)">BButton</a>(BWidget* parent = 0);</td></tr>
				<tr><td align="right"/><td><a href="#BButton(Form,BWidget*)">BButton</a>(Form form, BWidget* parent = 0);</td></tr>
				<tr><td align="right"/><td><a href="#BButton(Form, const BString&,BWidget*)">BButton</a>(Form form, const BString& text, BWidget* parent = 0);</td></tr>
				<tr><td align="right"/><td><a href="#BButton(const BString&,BWidget*)">BButton</a>(const BString& text, BWidget* parent = 0);</td></tr>
				<tr><td align="right"/><td><a href="#BButton(Graph, const BString&,BWidget*)">BButton</a>(Graph graph, const BString& text, BWidget* parent = 0);</td></tr>
				<tr><td align="right"/><td><a href="#BButton(BIcon*, const BString&,BWidget*)">BButton</a>(BIcon* icon, const BString& text, BWidget* parent = 0);</td></tr>
				<tr><td align="right"/><td><a href="#BButton(BImage*, const BString&,BWidget*)">BButton</a>(BImage* image, const BString& text, BWidget* parent = 0);</td></tr>
				<tr><td align="right"/><td><a href="#BButton(Graph,BWidget*)">BButton</a>(Graph graph, BWidget* parent = 0);</td></tr>
				<tr><td align="right"/><td><a href="#BButton(Graph, const BColor&,BWidget*)">BButton</a>(Graph graph, const BColor& color, BWidget* parent = 0);</td></tr>
				<tr><td align="right"/><td><a href="#BButton(BIcon*,BWidget*)">BButton</a>(BIcon* icon, BWidget* parent = 0);</td></tr>
				<tr><td align="right"/><td><a href="#BButton(BImage*,BWidget*)">BButton</a>(BImage* image, BWidget* parent = 0);</td></tr>
				<tr><td align="right"/><td><a href="#BButton(BAction*,BWidget*)">BButton</a>(BAction* action, BWidget* parent = 0);</td></tr>
				<tr><td align="right"/><td><a href="#BButton(BMenu*,BWidget*)">BButton</a>(BMenu* menu, BWidget* parent = 0);</td></tr>
				<tr><td align="right"/><td><a href="#~BButton()">~BButton</a>();</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#setIcon(BIcon*)">setIcon</a>(BIcon* icon);</td></tr>
				<tr><td align="right">virtual const BString&amp; </td><td><a href="#realTips() const">realTips</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setAlign(Align)">setAlign</a>(Align align);</td></tr>
				<tr><td align="right">Align </td><td><a href="#align() const">align</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setForm(Form)">setForm</a>(Form form);</td></tr>
				<tr><td align="right">Form </td><td><a href="#form() const">form</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setSpacing(int)">setSpacing</a>(int spacing);</td></tr>
				<tr><td align="right">int </td><td><a href="#spacing() const">spacing</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setColor(BByte, BByte, BByte,BByte)">setColor</a>(BByte r, BByte g, BByte b, BByte a = 255);</td></tr>
				<tr><td align="right">void </td><td><a href="#setColor(const BColor&)">setColor</a>(const BColor& color);</td></tr>
				<tr><td align="right">const BColor&amp; </td><td><a href="#color() const">color</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setGraph(Graph)">setGraph</a>(Graph graph);</td></tr>
				<tr><td align="right">Graph </td><td><a href="#graph() const">graph</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setIconSize(const BSize&)">setIconSize</a>(const BSize& iconSize);</td></tr>
				<tr><td align="right">void </td><td><a href="#setIconSize(int, int)">setIconSize</a>(int iconWidth, int iconHeight);</td></tr>
				<tr><td align="right">const BSize&amp; </td><td><a href="#iconSize() const">iconSize</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setImage(BImage*)">setImage</a>(BImage* image);</td></tr>
				<tr><td align="right">BImage* </td><td><a href="#image() const">image</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setText(const BString&)">setText</a>(const BString& text);</td></tr>
				<tr><td align="right">const BString&amp; </td><td><a href="#text() const">text</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setText(const BString&, bool)">setText</a>(const BString& text, bool checked);</td></tr>
				<tr><td align="right">const BString&amp; </td><td><a href="#text(bool) const">text</a>(bool checked) const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setAction(BAction*)">setAction</a>(BAction* action);</td></tr>
				<tr><td align="right">BAction* </td><td><a href="#action() const">action</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setMenu(BMenu*)">setMenu</a>(BMenu* menu);</td></tr>
				<tr><td align="right">BMenu* </td><td><a href="#menu() const">menu</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#setShortcut(const BString&,BWidget*)">setShortcut</a>(const BString& text, BWidget* widget = 0);</td></tr>
				<tr><td align="right">bool </td><td><a href="#setShortcut(const BKeyArray&,BWidget*)">setShortcut</a>(const BKeyArray& keys, BWidget* widget = 0);</td></tr>
				<tr><td align="right">bool </td><td><a href="#setShortcut(BShortcut*)">setShortcut</a>(BShortcut* shortcut);</td></tr>
				<tr><td align="right">BShortcut* </td><td><a href="#shortcut()">shortcut</a>();</td></tr>
				<tr><td align="right">void </td><td><a href="#setCheckable(bool)">setCheckable</a>(bool checkable);</td></tr>
				<tr><td align="right">bool </td><td><a href="#checkable() const">checkable</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setChecked(bool)">setChecked</a>(bool checked);</td></tr>
				<tr><td align="right">bool </td><td><a href="#checked() const">checked</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#click()">click</a>();</td></tr>
				<tr><td align="right">void </td><td><a href="#click(int, int)">click</a>(int x, int y);</td></tr>
				<tr><td align="right">void </td><td><a href="#click(const BPoint&)">click</a>(const BPoint& point);</td></tr>
				<tr><td align="right">virtual BSize </td><td><a href="#sizeHint() const">sizeHint</a>() const;</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#input(const BString&, const BValue&)">input</a>(const BString& text, const BValue& value);</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#query(const BString&, BValue&) const">query</a>(const BString& text, BValue& value) const;</td></tr>
				<tr><td align="right">using </td><td><a href="#BObject::query;()">BObject::query;</a></td></tr>
			</table>
			<h2>protected</h2>
			<table id="protected">
				<tr><td align="right">virtual void </td><td><a href="#resizeEvent(const BEvent&)">resizeEvent</a>(const BEvent& event);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#styleEvent(const BEvent&)">styleEvent</a>(const BEvent& event);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#freshEvent(const BEvent&)">freshEvent</a>(const BEvent& event);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#paintEvent(const BEvent&)">paintEvent</a>(const BEvent& event);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#hoverEvent(const BEvent&)">hoverEvent</a>(const BEvent& event);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#keyPressEvent(const BKeyEvent&)">keyPressEvent</a>(const BKeyEvent& keyEvent);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#keyReleaseEvent(const BKeyEvent&)">keyReleaseEvent</a>(const BKeyEvent& keyEvent);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#mousePressEvent(const BMouseEvent&)">mousePressEvent</a>(const BMouseEvent& mouseEvent);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#mouseReleaseEvent(const BMouseEvent&)">mouseReleaseEvent</a>(const BMouseEvent& mouseEvent);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#mouseClickEvent(const BMouseEvent&)">mouseClickEvent</a>(const BMouseEvent& mouseEvent);</td></tr>
			</table>
			<div id="desc">
				<h2>详细介绍：</h2>
				<p>BButton是按钮控件，通常使用鼠标点击操作。其属于标准显示模型，即显示图标和文本。</p><p>按钮可以被设置为可选择模式（checkable），此模式下按钮被点击后会切换选中状态（checked），此特性通常用于需要进行开关切换效果的情况。可以对不同的选中状态设置文本，方法是设置文本时指定状态：setText(text, bool)，那么按钮会显示与选中状态对应的状态文本。</p><p>按钮可以关联动作（BAction），菜单（BMenu），快捷键（BShortcut）。当关联了动作时，点击操作会激发此动作。当关联了菜单时，点击操作会弹出此菜单。当关联了快捷键时，达成快捷键组合后此按钮会被虚拟点击，即按钮的click()方法会被调用。</p><p>信号表：更多信号参考BWidget信号表。<br/>
					<table>
						<tr><td>Signal_AlignChanged</td><td>当对齐方式被改变时发出，数值是Align。</td></tr>
						<tr><td>Signal_SpacingChanged</td><td>图标与文本之间的间隔被改变时发出，数值是int spacing。</td></tr>
						<tr><td>Signal_FormChanged</td><td>显示形式改变时发出，数值是Form。</td></tr>
						<tr><td>Signal_TextChanged</td><td>文本被改变时发出，数值是BString。</td></tr>
						<tr><td>Signal_ColorChanged</td><td>当颜色值被改变时发出，数值是BColor。</td></tr>
						<tr><td>Signal_GraphChanged</td><td>当图形被改变时发出，数值是Graph。</td></tr>
						<tr><td>Signal_ImageChanged</td><td>当图像被改变时发出，数值是BImage*。</td></tr>
						<tr><td>Signal_Checked</td><td>当选中状态被改变时出发，数值是bool checked。</td></tr>
						<tr><td>Signal_Toggled</td><td>当被点击时且在选择模式下发出，数值是bool checked。</td></tr></table></p>
			</div>
			<h2 id="docs">成员文档：</h2>
			<div id="BButton(BWidget*)">
				<h3>BButton(BWidget* parent = 0);</h3>
				<p>构建一个按钮，parent指定父控件。</p>
			</div>
			<div id="BButton(Form,BWidget*)">
				<h3>BButton(Form form, BWidget* parent = 0);</h3>
				<p>构建一个按钮，form指定其显示形式，parent指定父控件。</p>
			</div>
			<div id="BButton(Form, const BString&,BWidget*)">
				<h3>BButton(Form form, const BString&amp; text, BWidget* parent = 0);</h3>
			</div>
			<div id="BButton(const BString&,BWidget*)">
				<h3>BButton(const BString&amp; text, BWidget* parent = 0);</h3>
				<p>构建一个按钮，text指定文本，parent指定父控件。</p>
			</div>
			<div id="BButton(Graph, const BString&,BWidget*)">
				<h3>BButton(Graph graph, const BString&amp; text, BWidget* parent = 0);</h3>
				<p>构建一个按钮，graph指定图样，text指定文本，parent指定父控件。</p>
			</div>
			<div id="BButton(BIcon*, const BString&,BWidget*)">
				<h3>BButton(BIcon* icon, const BString&amp; text, BWidget* parent = 0);</h3>
				<p>构建一个按钮，icon指定图标，text指定文本，parent指定父控件。</p>
			</div>
			<div id="BButton(BImage*, const BString&,BWidget*)">
				<h3>BButton(BImage* image, const BString&amp; text, BWidget* parent = 0);</h3>
				<p>构建一个按钮，image指定图像，text指定文本，parent指定父控件。</p>
			</div>
			<div id="BButton(Graph,BWidget*)">
				<h3>BButton(Graph graph, BWidget* parent = 0);</h3>
				<p>构建一个按钮，graph指定图样，parent指定父控件。</p>
			</div>
			<div id="BButton(Graph, const BColor&,BWidget*)">
				<h3>BButton(Graph graph, const BColor&amp; color, BWidget* parent = 0);</h3>
				<p>构建一个按钮，graph指定图样，color指定颜色值，parent指定父控件。</p>
			</div>
			<div id="BButton(BIcon*,BWidget*)">
				<h3>BButton(BIcon* icon, BWidget* parent = 0);</h3>
			</div>
			<div id="BButton(BImage*,BWidget*)">
				<h3>BButton(BImage* image, BWidget* parent = 0);</h3>
				<p>构建一个按钮，image指定图像，parent指定父控件。</p>
			</div>
			<div id="BButton(BAction*,BWidget*)">
				<h3>BButton(BAction* action, BWidget* parent = 0);</h3>
				<p>构建一个按钮，action指定一个动作，使之与此按钮关联，parent指定父控件。</p>
			</div>
			<div id="BButton(BMenu*,BWidget*)">
				<h3>BButton(BMenu* menu, BWidget* parent = 0);</h3>
				<p>构建一个按钮，menu指定一个菜单，使之与此按钮关联，parent指定父控件。</p>
			</div>
			<div id="~BButton()">
				<h3>~BButton();</h3>
				<p>析构一个按钮。</p>
			</div>
			<div id="setIcon(BIcon*)">
				<h3>virtual bool setIcon(BIcon* icon);</h3>
				<p>设置图标，重写方法，即控件的图标被设置了，图标改变时发出信号：Signal_IconChanged。</p>
			</div>
			<div id="realTips() const">
				<h3>virtual const BString&amp; realTips() const;</h3>
				<p>取得实际的提示语，若关联了动作（）则优先使用动作的提示语。若关联了菜单（）则优先使用菜单的提示语。最后使用自身的提示语。</p>
			</div>
			<div id="setAlign(Align)">
				<h3>void setAlign(Align align);</h3>
				<p>设置内容显示的对齐方式，对齐方式改变时发出信号：Signal_AlignChanged。</p>
			</div>
			<div id="align() const">
				<h3>Align align() const;</h3>
				<p>获得内容显示的对齐方式。</p>
			</div>
			<div id="setForm(Form)">
				<h3>void setForm(Form form);</h3>
				<p>设置内容显示形式，形式改变时发出信号：Signal_FormChanged。</p>
			</div>
			<div id="form() const">
				<h3>Form form() const;</h3>
				<p>获得内容显示形式。</p>
			</div>
			<div id="setSpacing(int)">
				<h3>void setSpacing(int spacing);</h3>
				<p>设置图标与文本之间的间隔，间隔值改变时发出信号：Signal_SpacingChanged。</p>
			</div>
			<div id="spacing() const">
				<h3>int spacing() const;</h3>
				<p>设置图标与文本之间的间隔。</p>
			</div>
			<div id="setColor(BByte, BByte, BByte,BByte)">
				<h3>void setColor(BByte r, BByte g, BByte b, BByte a = 255);</h3>
				<p>设置颜色，此方法同于setColor(BColor(r, g, b, a));</p>
			</div>
			<div id="setColor(const BColor&)">
				<h3>void setColor(const BColor&amp; color);</h3>
				<p>设置颜色值，此颜色常用于绘制图样。颜色值改变时发出信号：Signal_ColorChanged。</p>
			</div>
			<div id="color() const">
				<h3>const BColor&amp; color() const;</h3>
				<p>获得颜色值。</p>
			</div>
			<div id="setGraph(Graph)">
				<h3>void setGraph(Graph graph);</h3>
				<p>设置图样值，图样被改变时发出信号：Signal_GraphChanged。</p>
			</div>
			<div id="graph() const">
				<h3>Graph graph() const;</h3>
				<p>获得图样值。</p>
			</div>
			<div id="setIconSize(const BSize&)">
				<h3>void setIconSize(const BSize&amp; iconSize);</h3>
				<p>设置图标显示的要求尺寸，此尺寸数值也同样用于图样和图像。</p>
			</div>
			<div id="setIconSize(int, int)">
				<h3>void setIconSize(int iconWidth, int iconHeight);</h3>
				<p>设置图标的显示要求尺寸，此方法同于：setIconSize(BSize(iconWidth, iconHeight))。</p>
			</div>
			<div id="iconSize() const">
				<h3>const BSize&amp; iconSize() const;</h3>
				<p>获得图标显示的要求尺寸。</p>
			</div>
			<div id="setImage(BImage*)">
				<h3>void setImage(BImage* image);</h3>
				<p>设置图像，图像被改变时发出信号：Signal_ImageChanged。</p>
			</div>
			<div id="image() const">
				<h3>BImage* image() const;</h3>
				<p>获得图像。</p>
			</div>
			<div id="setText(const BString&)">
				<h3>void setText(const BString&amp; text);</h3>
				<p>设置文本。文本改变时发出信号：Signal_TextChanged。</p>
			</div>
			<div id="text() const">
				<h3>const BString&amp; text() const;</h3>
				<p>获得文本。</p>
			</div>
			<div id="setText(const BString&, bool)">
				<h3>void setText(const BString&amp; text, bool checked);</h3>
				<p>设置文本，checked指示此文本用于哪种选中状态。文本改变时发出信号：Signal_TextChanged。</p>
			</div>
			<div id="text(bool) const">
				<h3>const BString&amp; text(bool checked) const;</h3>
				<p>获得专用于指定选中状态的文本。</p>
			</div>
			<div id="setAction(BAction*)">
				<h3>void setAction(BAction* action);</h3>
				<p>将指定的动作与此按钮进行关联，动作的图标和文本会替补显示于此按钮，并且按钮的选中状态会与动作同步。当按钮被点击时会触发此动作。</p>
			</div>
			<div id="action() const">
				<h3>BAction* action() const;</h3>
				<p>获得已经被关联的动作。</p>
			</div>
			<div id="setMenu(BMenu*)">
				<h3>void setMenu(BMenu* menu);</h3>
				<p>将指定的菜单与此按钮进行关联，菜单的图标和标题会替补显示于此按钮，当按钮被点击时会弹出此菜单。</p>
			</div>
			<div id="menu() const">
				<h3>BMenu* menu() const;</h3>
				<p>取得已经与此按钮关联的菜单。</p>
			</div>
			<div id="setShortcut(const BString&,BWidget*)">
				<h3>bool setShortcut(const BString&amp; text, BWidget* widget = 0);</h3>
				<p>设置快捷键，text指定按键的组合，如"ctrl+s"为Key_Ctrl与Key_S进行组合。widget指定此快捷键依附的控件。</p>
			</div>
			<div id="setShortcut(const BKeyArray&,BWidget*)">
				<h3>bool setShortcut(const BKeyArray&amp; keys, BWidget* widget = 0);</h3>
				<p>设置快捷键，keys指定按键的组合。widget指定此快捷键依附的控件。</p>
			</div>
			<div id="setShortcut(BShortcut*)">
				<h3>bool setShortcut(BShortcut* shortcut);</h3>
				<p>设置快捷键对象，关联的快捷键被触发时，此按钮会被执行点击操作。</p>
			</div>
			<div id="shortcut()">
				<h3>BShortcut* shortcut();</h3>
				<p>获得关联的快捷键对象。</p>
			</div>
			<div id="setCheckable(bool)">
				<h3>void setCheckable(bool checkable);</h3>
				<p>设置是否启用选中模式，当取消选中模式时原有的选中状态会被重置为false。打开选中模式后文本优先使用选中状态对应的文本。</p>
			</div>
			<div id="checkable() const">
				<h3>bool checkable() const;</h3>
				<p>获得按钮是否开启了选中模式。</p>
			</div>
			<div id="setChecked(bool)">
				<h3>void setChecked(bool checked);</h3>
				<p>设置按钮的选中状态，选中状态改变时发出信号：Signal_Checked。一般在被点击时自动切换选中状态。</p>
			</div>
			<div id="checked() const">
				<h3>bool checked() const;</h3>
				<p>获得按钮是否为选中状态。</p>
			</div>
			<div id="click()">
				<h3>void click();</h3>
				<p>执行虚拟点击操作，点击的位置是按钮中心点。</p>
			</div>
			<div id="click(int, int)">
				<h3>void click(int x, int y);</h3>
				<p>执行虚拟点击操作，点击的位置是BPoint(x, y)。</p>
			</div>
			<div id="click(const BPoint&)">
				<h3>void click(const BPoint&amp; point);</h3>
				<p>执行虚拟点击操作，点击的位置是point。</p>
			</div>
			<div id="sizeHint() const">
				<h3>virtual BSize sizeHint() const;</h3>
				<p>计算适合的大小值。</p>
			</div>
			<div id="input(const BString&, const BValue&)">
				<h3>virtual bool input(const BString&amp; text, const BValue&amp; value);</h3>
				<p>输入表如下：</p><table>
					<tr><td>text</td><td>设置按钮文本，数值为BString text。</td></tr>
					<tr><td>graph</td><td>设置按钮图样，数值为Graph graph。</td></tr>
					<tr><td>color</td><td>设置按钮颜色，数值为BColor color。</td></tr>
					<tr><td>image</td><td>设置按钮图像，数值为BImage* image。</td></tr>
					<tr><td>icon</td><td>设置按钮图标，数值为BIcon* icon。</td></tr>
					<tr><td>icon-size</td><td>设置图标大小，数值为BSize iconSize。</td></tr>
					<tr><td>spacing</td><td>设置图标与文本的间隔，数值为int spacing。</td></tr>
					<tr><td>align</td><td>设置按钮的对齐方式，数值为Align align。</td></tr>
					<tr><td>form</td><td>设置按钮的显示形式，数值是Form form。</td></tr></table>
			</div>
			<div id="query(const BString&, BValue&) const">
				<h3>virtual bool query(const BString&amp; text, BValue&amp; value) const;</h3>
				<p>查询表如下：</p><table>
					<tr><td>text</td><td>获得文本内容，数值为BString text。</td></tr>
					<tr><td>graph</td><td>获得图样，数值为Graph graph。</td></tr>
					<tr><td>color</td><td>获得颜色，数值为BColor color。</td></tr>
					<tr><td>image</td><td>获得图像，数值为BImage* image。</td></tr>
					<tr><td>checkable</td><td>获得是否开启了选中模式，数值为bool checkable。</td></tr>
					<tr><td>checked</td><td>获得当前的选中状态值，数值为bool checked。</td></tr>
					<tr><td>content-rect</td><td>获得内容的绘制矩形，数值为BRect contentRect。</td></tr>
					<tr><td>content-size</td><td>获得内容的尺寸大小，数值为BSize contentSize。</td></tr>
					<tr><td>icon-rect</td><td>获得图标的绘制矩形，数值为BRect iconRect。</td></tr>
					<tr><td>icon-area</td><td>获得图标布局的区域，数值为BRect iconArea。</td></tr>
					<tr><td>text-rect</td><td>获得文本绘制的矩形，数值为BRect textRect。</td></tr>
					<tr><td>text-area</td><td>获得文本布局的区域，数值为BRect textArea。</td></tr>
					<tr><td>real-text</td><td>获得实际文本内容，数值为BString realText。</td></tr>
					<tr><td>trans-text</td><td>获得经过翻译的文本内容，数值为BString transText。</td></tr></table>
			</div>
			<div id="BObject::query;()">
				<h3>using BObject::query;</h3>
			</div>
			<div id="resizeEvent(const BEvent&)">
				<h3>virtual void resizeEvent(const BEvent&amp; event);</h3>
				<p>尺寸变化时重新调整显示布局。</p>
			</div>
			<div id="styleEvent(const BEvent&)">
				<h3>virtual void styleEvent(const BEvent&amp; event);</h3>
				<p>取用样式：</p><table>
					<tr><td>Value_Text</td><td>取值为文本。</td></tr>
					<tr><td>Value_Form</td><td>取值为显示形式。</td></tr>
					<tr><td>Value_Align</td><td>取值为对齐方式。</td></tr>
					<tr><td>Value_Spacing</td><td>取值为图标与文本的间隔。</td></tr>
					<tr><td>Value_Color</td><td>聚会为颜色。</td></tr>
					<tr><td>graph</td><td>取值为图样。</td></tr>
					<tr><td>Value_Icon_Size</td><td>取值为图标尺寸。</td></tr>
					<tr><td>Value_Image</td><td>取值为图像。</td></tr></table>
			</div>
			<div id="freshEvent(const BEvent&)">
				<h3>virtual void freshEvent(const BEvent&amp; event);</h3>
			</div>
			<div id="paintEvent(const BEvent&)">
				<h3>virtual void paintEvent(const BEvent&amp; event);</h3>
			</div>
			<div id="hoverEvent(const BEvent&)">
				<h3>virtual void hoverEvent(const BEvent&amp; event);</h3>
				<p>悬停状态改变时刷新此按钮。</p>
			</div>
			<div id="keyPressEvent(const BKeyEvent&)">
				<h3>virtual void keyPressEvent(const BKeyEvent&amp; keyEvent);</h3>
				<p>按下Key_Enter键时执行虚拟点击操作。</p>
			</div>
			<div id="keyReleaseEvent(const BKeyEvent&)">
				<h3>virtual void keyReleaseEvent(const BKeyEvent&amp; keyEvent);</h3>
			</div>
			<div id="mousePressEvent(const BMouseEvent&)">
				<h3>virtual void mousePressEvent(const BMouseEvent&amp; mouseEvent);</h3>
				<p>获得鼠标按下状态：State_Pressed。</p>
			</div>
			<div id="mouseReleaseEvent(const BMouseEvent&)">
				<h3>virtual void mouseReleaseEvent(const BMouseEvent&amp; mouseEvent);</h3>
				<p>清除鼠标按下状态：State_Pressed。</p>
			</div>
			<div id="mouseClickEvent(const BMouseEvent&)">
				<h3>virtual void mouseClickEvent(const BMouseEvent&amp; mouseEvent);</h3>
				<p>执行点击操作，触发关联的动或弹出菜单。</p>
			</div>
		</div>
	</body>
</html>